package org.oneblog.service;

import java.util.List;

import org.oneblog.data.bean.AlbumView;
import org.oneblog.data.bean.ArticleAlbum;
import org.oneblog.data.query.AlbumQuery;

public interface IAlbumService {

	int upsert(ArticleAlbum album);
	
	AlbumView detail(String id);
	
	List<AlbumView> getAlbums(AlbumQuery query);
	
	//逻辑删除专辑
	int deleteAlbum(String id);
	//物理删除专辑
	int recoverAlbum(String id);
}
